package com.test.service.Impl;

import com.test.dao.GlobalMapper;
import com.test.service.GlobalService;
import jdk.nashorn.internal.objects.Global;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class GlobalServiceImpl implements GlobalService {
    @Resource
    GlobalMapper globalMapper;
    @Override
    public int getUserCount() {
      return globalMapper.getUserCount();
    }

    @Override
    public int getBookCount() {
       return globalMapper.getBookCount();
    }

    @Override
    public int getBorrowCount() {
        return globalMapper.getBorrowCount();
    }
}
